<include file="Public/head" />
</head>
<include file="Public/common_header" />
<div class="mian">
<include file="Public/sidebar" menu="yhgz.mcyh" />
    <div class="mianR">
        <h3 class="yonghu">用户基本信息</h3>
        <div class="chezhu-xinxi">
            <div class="xinxi-conter">
                <ul>
                    <li class="clearfix">
                        <em>用户ID：</em>
                        <em class="name-text1">{$owner.owner_id}</em>
                    </li>
                    <li class="clearfix">
                        <em>姓名</em><em class="name-text1">{$owner.seller_name} </em>
                        <em>车型</em><em class="dian-hua1">{$owner.car_model}</em>
                    </li>
                    <li class="clearfix">
                        <em>车主电话</em><em class="name-text1">{$owner.phone} </em>
                        <em>行驶里程</em><em class="dian-hua1">{$owner.mileage} 公里</em>
                    </li>
                    <li class="clearfix">
                        <em>车辆所在地</em><em class="name-text1">{$owner.location_area} </em>
                        <em>上牌时间</em><em class="dian-hua1">{$owner.first_reg_date}</em>
                    </li>
                    <?php if($owner['business_status']>=4):?>
                    <li class="clearfix">
                        <em>预约时间</em>
                        <em class="name-text1">{:transform_date($owner['reserve_time'])}</em>
                        <?php if($owner['service_method']==3): ?>
                        <em>预约门店</em>
                        <em class="dian-hua1">{$owner.reserve_store}</em>
                        <?php else:?>
                        <em>预约地址</em>
                        <em class="dian-hua1">{$owner.address}</em>
                        <?php endif;?>
                    </li>
                    <?php endif;?>
                    <li class="clearfix">
                        <em>渠道</em>
                        <!-- <em class="name-text1"><?php echo C('COME_FROM.'.$owner['comefrom']);?></em> -->
                        <em class="name-text1"><if condition="$owner.comefrom neq ''"><php>echo $show_from[$owner['comefrom']];</php><else/>未知</if></em>
                    </li>
                    <li class="clearfix">
                        <em>备注</em>
                        <em style="width: 845px;" class="name-text">{$owner.reserve_remark}</em>
                    </li>
                </ul>
            </div>
        </div>
        <h3 class="yonghu">系统跟踪日志</h3>
        <div class="yonghuText">
            <ul>
                <volist name="logs" id="log" key="k">
                    <li class="{$k%2==0?'xitongBg':''} clearfix">
                        <em class="huShi">{$log.createtime}</em>
                        <em>
                            <?php if($log['type']<5):?>
                            客服
                            <?php elseif($log['type'] == 5 || $log['type'] == 6 || $log['type'] == 7):?>
                            调度
                            <?php else:?>
                            评估师
                            <?php endif;?>
                        </em>
                        <em>{$log.real_name}</em>
                        <em>{$log_type[$log['type']]}</em>
                        <em class="huShi">{$log.remark}</em>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="yongBtn1">
            <input type="button" onclick="window.close()" class="quxiao" value="关闭" />
        </div>
    </div>
</div>
<script type="text/javascript">
function setMethod(m){
    $("#service_method").val(m);
}

function setStatus(status){
    $("#business_status").val(status);
}

$(".other_remark").blur(function(){    
    $("#reserve_remark").val($(this).val());
});


$(".gencuur").click(function(){
    var str = $(this).children("font").html();
    $("#reserve_remark").val(str);
});
</script>
</body>
</html>
